﻿using SqlSugar;
using Zhao.Common.Helper;
using Zhao.Models.DTO;
using Zhao.Models.Entity;

namespace Zhao.IServer.Field
{
    public interface IFacilityTimePriceServer : IBaseService<FacilityTimePrice>
    {
        public Task<List<FTimePriceDto>> GetInfos(Expressionable<FacilityTimePrice, FieldTypes> expressionable);

        public Task<ApiResult> AddFacilityTimePriceAsync(FTimePriceDto dto, Guid venueId);

        public Task<ApiResult> UpdateFacilityTimePriceAsync(FTimePriceDto dto, Guid venueId);
    }
}
